@import './com1';

main {
    .box {
        .content1 {
            .b_one {
                .one_one{
                    display: flex;
                    justify-content: center;
                    margin-bottom: 4.25rem;
                    .one_1 {
                        margin-top: 5.875rem;
                        display: flex;
                        flex-direction: column;
                        h2 {
                            font-size: 2.25rem;
                        }
                        p {
                            margin-bottom: 0;
                            text-indent: 2em;
                            width: 39.6875rem;
                            line-height: 1.75rem;
                            font-size: .875rem;
                            &:nth-of-type(1) {
                                text-indent: 0;
                                margin-top: 2.3125rem;
                                font-size: 1.3125rem;
                                margin-bottom: 0;
                            }
                            &:nth-of-type(2) {
                                margin-top: 1.9375rem;
                                margin-bottom: 1.6875rem;
                            }
                        }
                    }
                    .one_2 {
                        margin-top: 14.75rem;
                        margin-left: 2.25rem;
                        
                    }
                }
                
            }
        }
    }

    .box1 {
        background-color: #8cc11f;
        .content2 {
            .ct_one {
                .one_one {
                    display: flex;
                    justify-content: center;

                    .one_1 {
                        margin-top: 7.1875rem;
                        margin-bottom: 5.25rem;
                        display: flex;
                        flex-direction: column;
                        color: #fff;
                        h2 {
                            margin: 0;
                            font-size: 2.25rem;
                        }
                        p {
                            font-size: 16px;
                        }
                        p:nth-of-type(1) {
                            margin: 3.8125rem 0 1.3125rem;
                            width: 39.6875rem;
                            height: 3.125rem;
                            line-height: 1.9rem;
                        }
                    }

                    .one_2 {
                        margin-top: 13.425rem;
                        margin-left: 2.4375rem;
                        display: flex;
                        flex-direction: column;
                        a {
                            margin: 1.125rem 0 .9375rem;
                            width: 14rem;
                            height: 3.3125rem;
                            line-height: 3.3125rem;
                            color: #8cc11f;
                            background-color: #fff;
                            border-radius: .375rem;
                            font-size: 1.5rem;
                            text-align: center;
                            font-weight: bold;
                        }
                        p {
                            font-size: 16px;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }

    .box2 {
        .content3 {
            .ct_b {
                .b_one {
                    margin-top: 7.625rem;
                    padding-bottom: 4.3125rem;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    border-bottom: 1px solid #d2d2d2;
                    h2 {
                        color: #8cc11f;
                    }
                    .one_1 {
                        margin-top: 2.625rem;
                        li {
                            font-size: 1.125rem;
                            ul {
                                li {
                                    margin-top: .875rem;
                                    text-indent: 2em;
                                    font-size: .875rem;
                                }
                            }
                        }
                    }

                    .one_2 {
                        margin-top: .8rem;
                        li {
                            font-size: 1.125rem;
                            ul {
                                li {
                                    margin-top: .875rem;
                                    text-indent: 2em;
                                    font-size: .875rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .box3 {
        .content4 {
            .ct_b {
                margin: 0 auto;
                .b_one {
                    margin-top: 4.5625rem;
                    padding-bottom: 4.3125rem;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    border-bottom: 1px solid #d2d2d2;
                    &:last-of-type {
                        border-bottom: none;
                    }
                    h2 {
                        color: #8cc11f;
                    }
                    .one_1 {
                        margin-top: 2.625rem;
                        li {
                            font-size: 1.125rem;
                            ul {
                                li {
                                    margin-top: .875rem;
                                    text-indent: 2em;
                                    font-size: .875rem;
                                }
                            }
                        }
                    }

                    .one_2 {
                        margin-top: .8rem;
                        li {
                            font-size: 1.125rem;
                            ul {
                                li {
                                    margin-top: .875rem;
                                    text-indent: 2em;
                                    font-size: .875rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .box4 {
        background-color: #f4f4f4;
        .content5 {
            .ct_b {
                margin: 0 auto;
                .b_one {
                    margin-top: 2.6875rem;
                    margin-bottom: 3.9375rem;
                    h2 {
                        font-size: 2.25rem;
                    }
                    .one_1 {
                        margin-top: 2.5rem;
                        display: flex;
                        div {
                            display: flex; 
                            align-items: center;
                            padding-left: .8125rem;
                            width: 28.5625rem;
                            height: 6.4375rem;
                            background-color: #fff;
                            &:nth-of-type(2) {
                                margin-left: 1.9375rem;
                            }
                            img {
                                width: 4.625rem;
                                height: 4.625rem;
                            }
                            span {
                                font-size: .9975rem;
                                margin-left: .75rem;
                            }
                        }
                    }
                }
            }
        }
    }
    
}

@media screen and (min-width:768px) and (max-width:970px) {
    main {
        .box {
            .content1 {
                .b_one {
                    .one_one{
                        flex-direction: column;
                        align-items: center;
                        margin-bottom: 3.25rem;
                        .one_1 {
                            margin-top: 1.875rem;
                            h2 {
                                font-size: 2.25rem;
                            }
                            p {
                                &:nth-of-type(1) {
                                    text-indent: 0;
                                }
                                &:nth-of-type(2) {
                                    margin-top: 1.3375rem;
                                }
                            }
                        }
                        .one_2 {
                            text-align: center;
                            margin-top: 1.75rem;
                            margin-left: 2.25rem;
                            
                        }
                    }
                    
                }
            }
        }

        .box1 {
            .content2 {
                .ct_one {
                    .one_one {
                        align-items: center;
                        .one_1 {
                            p:nth-of-type(1) {
                                width: 100% ;
                            }
                        }
    
                        .one_2 {
                            a {
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }

        .box2 {
            .content3 {
                .ct_b {
                    .b_one {
                        margin-top: 2rem;
                    }
                }
            }
        }

        .box3 {
            .content4 {
                .ct_b {
                    .b_one {
                        margin-top: 2rem;
                    }
                }
            }
        }

        .box4 {
            .content5 {
                display: flex;
                justify-content: center;
                .ct_b {
                    .b_one {
                        .one_1 {
                            margin-top: 1rem;
                            flex-direction: column;
                            div {
                                &:nth-of-type(2) {
                                    margin-top: 1rem;
                                    margin-left: 0rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width:767px) {
    main {
        .box {
            .content1 {
                .b_one {
                    .one_one{
                        margin-bottom: 2rem;
                        .one_1 {
                            margin-top: 2rem;
                            h2 {
                                font-size: 2.25rem;
                            }
                            p {
                                text-indent: 0;
                                width: 100%;
                                height: 100%;
                                margin-top: 1rem;
                                margin-bottom: 1rem;
                                &:nth-of-type(1) {
                                    width: 100%;
                                height: 100%;
                                    margin-top: 1rem;
                                    margin-bottom: 1rem;
                                }
                                &:nth-of-type(2) {
                                    width: 100%;
                                height: 100%;
                                    margin-top: 1rem;
                                    margin-bottom: 1rem;
                                }
                            }
                        }
                        .one_2 {
                            display: none;
                        }
                    }
                    
                }
            }
        }

        .box1 {
            background-color: #8cc11f;
            .content2 {
    
                .ct_one {
                    .one_one {
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        .one_1 {
                            margin-left: 1rem;
                            margin-top: 1.1875rem;
                            margin-bottom:0;

                            h2 {
                                width: 100%;
                                margin: 0;
                                font-size: 2.25rem;
                            }
                            p {
                                width: 100%;
                                height: 100%;
                                font-size: 16px;
                            }
                            p:nth-of-type(1) {
                                height: 100%;
                                width: 100%;
                                margin: 1rem 0;
                               
                            }
                        }
    
                        .one_2 {
                            width: 100%;
                            margin-top: 2rem;
                            margin-left: 1rem;
                            display: flex;
                            flex-direction: column;
                            a {
                                margin: 1.125rem 0 .9375rem;
                                width: 14rem;
                                height: 3.3125rem;
                                line-height: 3.3125rem;
                                color: #8cc11f;
                                background-color: #fff;
                                border-radius: .375rem;
                                font-size: 1.5rem;
                                text-align: center;
                                font-weight: bold;
                            }
                            p {
                                width: 50%;
                                font-size: 16px;
                                color: #fff;
                            }
                        }
                    }
                }
            }
        }

        .box2 {
            .content3 {
                .ct_b {
                    .b_one {
                        margin-top: 2rem;
                        .one_1 {
                            li {
                                ul {
                                    li {

                                        text-indent: 0;
                                    }
                                }
                            }
                        }
                        .one_2 {
                            li {
                                ul {
                                    li {

                                        text-indent: 0;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .box3 {
            .content4 {
                .ct_b {
                    .b_one {
                        margin-top: 2rem;
                        .one_1 {
                            li {
                                ul {
                                    li {

                                        text-indent: 0;
                                    }
                                }
                            }
                        }
                        .one_2 {
                            li {
                                ul {
                                    li {

                                        text-indent: 0;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .box4 {
            .content5 {
                display: flex;
                justify-content: center;
                .ct_b {
                    .b_one {
                        .one_1 {
                            margin-top: 1rem;
                            flex-direction: column;
                            div {
                                width: 100%;

                                &:nth-of-type(2) {
                                    margin-top: 1rem;
                                    margin-left: 0rem;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}